Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ read_key = os.environ.get('HF_TOKEN', None)
|
|
10 |
|
11 |
custom_css = """
|
12 |
#md {
|
13 |
-
height:
|
14 |
font-size: 30px;
|
15 |
background: #121212;
|
16 |
padding: 20px;
|
@@ -45,11 +45,10 @@ def predict(prompt):
|
|
45 |
# Create the Gradio interface
|
46 |
with gr.Blocks(css=custom_css) as demo:
|
47 |
with gr.Row():
|
48 |
-
|
|
|
49 |
with gr.Row():
|
50 |
-
|
51 |
-
#details_output = gr.Textbox(label="Ausgabe", value = f"\n\n\n\n")
|
52 |
-
|
53 |
with gr.Row():
|
54 |
button = gr.Button("Senden")
|
55 |
|
|
|
10 |
|
11 |
custom_css = """
|
12 |
#md {
|
13 |
+
height: 400px;
|
14 |
font-size: 30px;
|
15 |
background: #121212;
|
16 |
padding: 20px;
|
|
|
45 |
# Create the Gradio interface
|
46 |
with gr.Blocks(css=custom_css) as demo:
|
47 |
with gr.Row():
|
48 |
+
details_output = gr.Markdown(label="answer",placeholder="answer from gemini", elem_id="md")
|
49 |
+
#details_output = gr.Textbox(label="Ausgabe", value = f"\n\n\n\n")
|
50 |
with gr.Row():
|
51 |
+
ort_input = gr.Textbox(label="prompt", placeholder="ask anything...")
|
|
|
|
|
52 |
with gr.Row():
|
53 |
button = gr.Button("Senden")
|
54 |
|