Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -658,7 +658,7 @@ If you want to experience the normal model inference speed, you can run [[Infere
|
|
| 658 |
## Tips:
|
| 659 |
* Check out the conversation examples (at the bottom) for inspiration.
|
| 660 |
|
| 661 |
-
* You can adjust "Max History Rounds" to try a conversation with up to
|
| 662 |
|
| 663 |
* Our demo supports a mix of images and texts as input. You can freely upload an image or enter text, and then click on "Add Image/Text". You can repeat the former step multiple times, and click on "Submit" for model inference at last.
|
| 664 |
|
|
@@ -766,7 +766,7 @@ if __name__ == '__main__':
|
|
| 766 |
step=64,
|
| 767 |
interactive=True,
|
| 768 |
label="Max Output Tokens")
|
| 769 |
-
max_turns = gr.Slider(minimum=1, maximum=
|
| 770 |
label="Max History Rounds")
|
| 771 |
force_img_gen = gr.Radio(choices=[True, False], value=False, label='Force Image Generation')
|
| 772 |
force_bbox = gr.Radio(choices=[True, False], value=False, label='Force Bounding Box')
|
|
|
|
| 658 |
## Tips:
|
| 659 |
* Check out the conversation examples (at the bottom) for inspiration.
|
| 660 |
|
| 661 |
+
* You can adjust "Max History Rounds" to try a conversation with up to **three rounds due to insufficient GPU memory**. For more turns, you can download our checkpoints from GitHub and deploy them locally for inference.
|
| 662 |
|
| 663 |
* Our demo supports a mix of images and texts as input. You can freely upload an image or enter text, and then click on "Add Image/Text". You can repeat the former step multiple times, and click on "Submit" for model inference at last.
|
| 664 |
|
|
|
|
| 766 |
step=64,
|
| 767 |
interactive=True,
|
| 768 |
label="Max Output Tokens")
|
| 769 |
+
max_turns = gr.Slider(minimum=1, maximum=3, value=3, step=1, interactive=True,
|
| 770 |
label="Max History Rounds")
|
| 771 |
force_img_gen = gr.Radio(choices=[True, False], value=False, label='Force Image Generation')
|
| 772 |
force_bbox = gr.Radio(choices=[True, False], value=False, label='Force Bounding Box')
|