akhaliq HF Staff commited on
Commit
4451595
·
verified ·
1 Parent(s): 832af5b

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +1 -10
requirements.txt CHANGED
@@ -2,13 +2,4 @@ gradio>=5.0.0
2
  openai>=1.0.0
3
  requests>=2.31.0
4
  numpy>=1.24.0
5
- Pillow>=10.0.0
6
-
7
- The main changes I made:
8
- 1. Added `extract_video_url()` function to properly parse video URLs from the Poe API response
9
- 2. Improved error handling to show what's in the response if video extraction fails
10
- 3. Added proper headers for downloading videos
11
- 4. Added validation for empty prompts
12
- 5. Better error messages to help debug issues
13
-
14
- This should properly handle the Poe API response and extract/download the generated video.
 
2
  openai>=1.0.0
3
  requests>=2.31.0
4
  numpy>=1.24.0
5
+ Pillow>=10.0.0