Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ from modeling.qwen2 import Qwen2Tokenizer
|
|
| 27 |
from huggingface_hub import snapshot_download
|
| 28 |
|
| 29 |
save_dir = "./model_weights"
|
| 30 |
-
repo_id = "
|
| 31 |
cache_dir = save_dir + "/cache"
|
| 32 |
|
| 33 |
snapshot_download(
|
|
@@ -270,7 +270,7 @@ def load_example_image(image_path):
|
|
| 270 |
|
| 271 |
# Gradio UI
|
| 272 |
with gr.Blocks() as demo:
|
| 273 |
-
gr.Markdown("# π₯― [
|
| 274 |
|
| 275 |
with gr.Tab("π Text to Image"):
|
| 276 |
txt_input = gr.Textbox(
|
|
@@ -464,7 +464,7 @@ with gr.Blocks() as demo:
|
|
| 464 |
)
|
| 465 |
|
| 466 |
gr.Markdown(
|
| 467 |
-
"π[Website](https://
|
| 468 |
)
|
| 469 |
|
| 470 |
demo.launch(share=True)
|
|
|
|
| 27 |
from huggingface_hub import snapshot_download
|
| 28 |
|
| 29 |
save_dir = "./model_weights"
|
| 30 |
+
repo_id = "iitolstykh/Bagel-NHR-Edit"
|
| 31 |
cache_dir = save_dir + "/cache"
|
| 32 |
|
| 33 |
snapshot_download(
|
|
|
|
| 270 |
|
| 271 |
# Gradio UI
|
| 272 |
with gr.Blocks() as demo:
|
| 273 |
+
gr.Markdown("# π₯― [NHR](https://riko0.github.io/No-Humans-Required/)")
|
| 274 |
|
| 275 |
with gr.Tab("π Text to Image"):
|
| 276 |
txt_input = gr.Textbox(
|
|
|
|
| 464 |
)
|
| 465 |
|
| 466 |
gr.Markdown(
|
| 467 |
+
"π[Website](https://riko0.github.io/No-Humans-Required/) π[Report](#) π€[Model](https://huggingface.co/iitolstykh/Bagel-NHR-Edit)"
|
| 468 |
)
|
| 469 |
|
| 470 |
demo.launch(share=True)
|