Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -695,7 +695,6 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 695 |
with gr.Column(min_width=70, scale=1):
|
| 696 |
cancelBtn = gr.Button("Stop")
|
| 697 |
with gr.Row():
|
| 698 |
-
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus", scale=10)
|
| 699 |
image_display = gr.Image( visible=False)
|
| 700 |
upload = gr.UploadButton("📁", file_types=["image", "pdf", "docx", "pptx", "xlsx"], scale = 10)
|
| 701 |
emptyBtn = gr.ClearButton([user_input, chatbot, history, attached_file, attached_file_history, image_display], value="🧹 Neue Session", scale=10)
|
|
@@ -712,6 +711,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 712 |
#gr.Markdown("# Parameters")
|
| 713 |
rag_option = gr.Radio(["Aus", "An"], label="LI Erweiterungen (RAG)", value = "Aus")
|
| 714 |
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "OpenAI")
|
|
|
|
| 715 |
|
| 716 |
|
| 717 |
top_p = gr.Slider(
|
|
|
|
| 695 |
with gr.Column(min_width=70, scale=1):
|
| 696 |
cancelBtn = gr.Button("Stop")
|
| 697 |
with gr.Row():
|
|
|
|
| 698 |
image_display = gr.Image( visible=False)
|
| 699 |
upload = gr.UploadButton("📁", file_types=["image", "pdf", "docx", "pptx", "xlsx"], scale = 10)
|
| 700 |
emptyBtn = gr.ClearButton([user_input, chatbot, history, attached_file, attached_file_history, image_display], value="🧹 Neue Session", scale=10)
|
|
|
|
| 711 |
#gr.Markdown("# Parameters")
|
| 712 |
rag_option = gr.Radio(["Aus", "An"], label="LI Erweiterungen (RAG)", value = "Aus")
|
| 713 |
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "OpenAI")
|
| 714 |
+
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus")
|
| 715 |
|
| 716 |
|
| 717 |
top_p = gr.Slider(
|