Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,13 @@ generator = pipeline('text-generation', model='dbmdz/german-gpt2')
|
|
| 6 |
|
| 7 |
# Define the pages
|
| 8 |
def page_social_media_generator():
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
input_topic = st.text_input('Enter a medical topic', 'Type 1 Diabetes')
|
| 11 |
st.write(f"Creating social media content for: {input_topic}")
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
# Define the pages
|
| 8 |
def page_social_media_generator():
|
| 9 |
+
|
| 10 |
+
# Two equal columns:
|
| 11 |
+
col1, col2 = st.columns(2)
|
| 12 |
+
col1.st.title("German Medical Content Manager")
|
| 13 |
+
col2.st.image('Content_Creation_Pic.png')
|
| 14 |
+
|
| 15 |
+
|
| 16 |
input_topic = st.text_input('Enter a medical topic', 'Type 1 Diabetes')
|
| 17 |
st.write(f"Creating social media content for: {input_topic}")
|
| 18 |
|