Spaces:
Runtime error
Runtime error
Milano Hyacinthe
commited on
Commit
·
bd57bc4
1
Parent(s):
8137357
Update files
Browse files- demo/app_januspro.py +5 -6
- images/doge.png +0 -0
- images/equation.png +0 -0
demo/app_januspro.py
CHANGED
|
@@ -185,22 +185,21 @@ with gr.Blocks() as demo:
|
|
| 185 |
understanding_button = gr.Button("Chat")
|
| 186 |
understanding_output = gr.Textbox(label="Response")
|
| 187 |
|
| 188 |
-
"""
|
| 189 |
examples_inpainting = gr.Examples(
|
| 190 |
label="Multimodal Understanding examples",
|
| 191 |
examples=[
|
| 192 |
[
|
| 193 |
"explain this meme",
|
| 194 |
-
"",
|
| 195 |
],
|
| 196 |
[
|
| 197 |
"Convert the formula into latex code.",
|
| 198 |
-
"",
|
| 199 |
],
|
| 200 |
],
|
| 201 |
inputs=[question_input, image_input],
|
| 202 |
)
|
| 203 |
-
|
| 204 |
|
| 205 |
gr.Markdown(value="# Text-to-Image Generation")
|
| 206 |
|
|
@@ -243,5 +242,5 @@ with gr.Blocks() as demo:
|
|
| 243 |
)
|
| 244 |
|
| 245 |
# demo.launch(share=True)
|
| 246 |
-
# demo.queue(concurrency_count=1, max_size=10).launch(server_name="0.0.0.0", server_port=37906, root_path="/path"
|
| 247 |
-
demo.queue(concurrency_count=1, max_size=10).launch(server_name="0.0.0.0", server_port=7860
|
|
|
|
| 185 |
understanding_button = gr.Button("Chat")
|
| 186 |
understanding_output = gr.Textbox(label="Response")
|
| 187 |
|
|
|
|
| 188 |
examples_inpainting = gr.Examples(
|
| 189 |
label="Multimodal Understanding examples",
|
| 190 |
examples=[
|
| 191 |
[
|
| 192 |
"explain this meme",
|
| 193 |
+
"images/doge.png",
|
| 194 |
],
|
| 195 |
[
|
| 196 |
"Convert the formula into latex code.",
|
| 197 |
+
"images/equation.png",
|
| 198 |
],
|
| 199 |
],
|
| 200 |
inputs=[question_input, image_input],
|
| 201 |
)
|
| 202 |
+
|
| 203 |
|
| 204 |
gr.Markdown(value="# Text-to-Image Generation")
|
| 205 |
|
|
|
|
| 242 |
)
|
| 243 |
|
| 244 |
# demo.launch(share=True)
|
| 245 |
+
# demo.queue(concurrency_count=1, max_size=10).launch(server_name="0.0.0.0", server_port=37906, root_path="/path")
|
| 246 |
+
demo.queue(concurrency_count=1, max_size=10).launch(server_name="0.0.0.0", server_port=7860)
|
images/doge.png
ADDED
|
images/equation.png
ADDED
|