Spaces:
Sleeping
Sleeping
jeremierostan
commited on
Commit
•
62c9bad
1
Parent(s):
a1f9fa5
Update app.py
Browse files
app.py
CHANGED
@@ -91,8 +91,8 @@ with gr.Blocks() as app:
|
|
91 |
logo_url = "https://i.ibb.co/S7DCk3K/a-logo-design-with-a-stylized-egyptian-scribe-the-i-L59-Gh-Zn-QASp7v-TUazjdp-A-1-s-Ip-Qq-VRIif-VF5dn.png" # Replace with your actual logo URL
|
92 |
gr.Image(logo_url, label="", show_label=False, height=200)
|
93 |
|
94 |
-
# API key input
|
95 |
-
api_key_input = gr.Textbox(label="Enter your Groq API Key", placeholder="
|
96 |
|
97 |
# PDF upload Section
|
98 |
pdf_file = gr.File(label="Upload PDF Paper")
|
@@ -127,3 +127,4 @@ with gr.Blocks() as app:
|
|
127 |
|
128 |
# Launch the app
|
129 |
app.launch()
|
|
|
|
91 |
logo_url = "https://i.ibb.co/S7DCk3K/a-logo-design-with-a-stylized-egyptian-scribe-the-i-L59-Gh-Zn-QASp7v-TUazjdp-A-1-s-Ip-Qq-VRIif-VF5dn.png" # Replace with your actual logo URL
|
92 |
gr.Image(logo_url, label="", show_label=False, height=200)
|
93 |
|
94 |
+
# Place the API key input at the top
|
95 |
+
api_key_input = gr.Textbox(label="Enter your Groq API Key", placeholder="Your Groq API Key here...", type="password")
|
96 |
|
97 |
# PDF upload Section
|
98 |
pdf_file = gr.File(label="Upload PDF Paper")
|
|
|
127 |
|
128 |
# Launch the app
|
129 |
app.launch()
|
130 |
+
|