mgokg commited on
Commit
6ad3993
·
verified ·
1 Parent(s): 0a25279

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -10,7 +10,7 @@ read_key = os.environ.get('HF_TOKEN', None)
10
 
11
  custom_css = """
12
  #md {
13
- height: 500px;
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
- ort_input = gr.Textbox(label="prompt", placeholder="Gib den Namen des Ortes ein")
 
49
  with gr.Row():
50
- details_output = gr.Markdown(label="answer",elem_id="md")
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