LPX55 commited on
Commit
7266c03
Β·
verified Β·
1 Parent(s): 5abfc36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -16
app.py CHANGED
@@ -79,7 +79,22 @@ with gr.Blocks(fill_height=True) as demo:
79
  upload_button = gr.UploadButton("Upload up to 10 images", file_types=["image"], file_count="multiple")
80
  output_file = gr.File(label="Uploaded Files")
81
  gen_button = gr.Button("Generate", variant="primary")
82
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  with gr.Column():
84
  outputs = gr.Markdown(label="Generated Story", show_copy_button=True)
85
 
@@ -95,21 +110,7 @@ with gr.Blocks(fill_height=True) as demo:
95
  Model trained by daniel3303, [repository here.](https://huggingface.co/daniel3303/QwenStoryteller)
96
  """
97
  )
98
- gr.Markdown(
99
- """
100
- ```
101
- @misc{oliveira2025storyreasoningdatasetusingchainofthought,
102
- title={StoryReasoning Dataset: Using Chain-of-Thought for Scene Understanding and Grounded Story Generation},
103
- author={Daniel A. P. Oliveira and David Martins de Matos},
104
- year={2025},
105
- eprint={2505.10292},
106
- archivePrefix={arXiv},
107
- primaryClass={cs.CV},
108
- url={https://arxiv.org/abs/2505.10292},
109
- }
110
- ```
111
- """
112
- )
113
 
114
  upload_button.upload(lambda files: [f.name for f in files], upload_button, output_file)
115
 
 
79
  upload_button = gr.UploadButton("Upload up to 10 images", file_types=["image"], file_count="multiple")
80
  output_file = gr.File(label="Uploaded Files")
81
  gen_button = gr.Button("Generate", variant="primary")
82
+ gr.Markdown(
83
+ """
84
+ \n\n
85
+ ```
86
+ @misc{oliveira2025storyreasoningdatasetusingchainofthought,
87
+ title={StoryReasoning Dataset: Using Chain-of-Thought for Scene Understanding and Grounded Story Generation},
88
+ author={Daniel A. P. Oliveira and David Martins de Matos},
89
+ year={2025},
90
+ eprint={2505.10292},
91
+ archivePrefix={arXiv},
92
+ primaryClass={cs.CV},
93
+ url={https://arxiv.org/abs/2505.10292},
94
+ }
95
+ ```
96
+ """
97
+ )
98
  with gr.Column():
99
  outputs = gr.Markdown(label="Generated Story", show_copy_button=True)
100
 
 
110
  Model trained by daniel3303, [repository here.](https://huggingface.co/daniel3303/QwenStoryteller)
111
  """
112
  )
113
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  upload_button.upload(lambda files: [f.name for f in files], upload_button, output_file)
116