Update app.py
Browse files
app.py
CHANGED
|
@@ -732,7 +732,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 732 |
with gr.Tab(label="Parameter"):
|
| 733 |
#gr.Markdown("# Parameters")
|
| 734 |
rag_option = gr.Radio(["Aus", "An"], label="LI Erweiterungen (RAG)", value = "Aus")
|
| 735 |
-
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "
|
| 736 |
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus")
|
| 737 |
|
| 738 |
|
|
@@ -817,7 +817,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 817 |
#gr.Markdown("# Parameters")
|
| 818 |
model_option_zeichnen = gr.Radio(["Stable Diffusion","DallE"], label="Modellauswahl", value = "Stable Diffusion")
|
| 819 |
|
| 820 |
-
|
| 821 |
with gr.Tab("LI Codebot"):
|
| 822 |
with gr.Row():
|
| 823 |
gr.HTML("Gib als textuelle Beschreibung ein, was in Programmcode übersetzt werden soll und in welcher Sprache...")
|
|
@@ -848,7 +848,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 848 |
#gr.Markdown("# Parameters")
|
| 849 |
model_option_code3 = gr.Radio(["Davinci","kommt noch"], label="Modellauswahl", value = "Davinci")
|
| 850 |
|
| 851 |
-
|
| 852 |
|
| 853 |
|
| 854 |
gr.Markdown(description)
|
|
@@ -928,7 +928,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 928 |
#cancels=[predict_event2_1,predict_event2_2 ]
|
| 929 |
#)
|
| 930 |
|
| 931 |
-
|
| 932 |
######################################
|
| 933 |
# Für Tab 3: Codebot
|
| 934 |
#Argumente für generate Funktion als Input
|
|
@@ -970,7 +970,7 @@ with gr.Blocks(css=custom_css(), theme=themeAlex) as demo:
|
|
| 970 |
#Bild Anzeige neben dem Button wieder entfernen oder austauschen..
|
| 971 |
image_display3.select(file_loeschen, [], [attached_file3, image_display3])
|
| 972 |
#download_button.click(fn=download_chats, inputs=chat_selector, outputs=[file_download])
|
| 973 |
-
|
| 974 |
|
| 975 |
|
| 976 |
demo.title = "LI-ChatBot"
|
|
|
|
| 732 |
with gr.Tab(label="Parameter"):
|
| 733 |
#gr.Markdown("# Parameters")
|
| 734 |
rag_option = gr.Radio(["Aus", "An"], label="LI Erweiterungen (RAG)", value = "Aus")
|
| 735 |
+
model_option = gr.Radio(["OpenAI", "HuggingFace"], label="Modellauswahl", value = "OpenAI")
|
| 736 |
websuche = gr.Radio(["Aus", "An"], label="Web-Suche", value = "Aus")
|
| 737 |
|
| 738 |
|
|
|
|
| 817 |
#gr.Markdown("# Parameters")
|
| 818 |
model_option_zeichnen = gr.Radio(["Stable Diffusion","DallE"], label="Modellauswahl", value = "Stable Diffusion")
|
| 819 |
|
| 820 |
+
"""
|
| 821 |
with gr.Tab("LI Codebot"):
|
| 822 |
with gr.Row():
|
| 823 |
gr.HTML("Gib als textuelle Beschreibung ein, was in Programmcode übersetzt werden soll und in welcher Sprache...")
|
|
|
|
| 848 |
#gr.Markdown("# Parameters")
|
| 849 |
model_option_code3 = gr.Radio(["Davinci","kommt noch"], label="Modellauswahl", value = "Davinci")
|
| 850 |
|
| 851 |
+
"""
|
| 852 |
|
| 853 |
|
| 854 |
gr.Markdown(description)
|
|
|
|
| 928 |
#cancels=[predict_event2_1,predict_event2_2 ]
|
| 929 |
#)
|
| 930 |
|
| 931 |
+
"""
|
| 932 |
######################################
|
| 933 |
# Für Tab 3: Codebot
|
| 934 |
#Argumente für generate Funktion als Input
|
|
|
|
| 970 |
#Bild Anzeige neben dem Button wieder entfernen oder austauschen..
|
| 971 |
image_display3.select(file_loeschen, [], [attached_file3, image_display3])
|
| 972 |
#download_button.click(fn=download_chats, inputs=chat_selector, outputs=[file_download])
|
| 973 |
+
"""
|
| 974 |
|
| 975 |
|
| 976 |
demo.title = "LI-ChatBot"
|