Request Time - Django - Nginx - Whisper(openai)

2023-06-05 Thread Swelan Auguste
Dear All,

I need some help with a project.

I am using whisper within a Django application and based on the audio file
I am trying to transcribe nginx would give me a request timeout error page
but the code still executes in the background and does transcribe.

Additionally, If I run the code without nginx with the Django development
server, it works each time and even with Jupyter Notebook or pure Python
code.

My question is, how can I stop the nginx timeout error or get the app to
delay or wait til the transcription is done?

https://github.com/swelanauguste/youtube-transcribe

Grateful for any assistance

Sincerely,

Swelan R. Auguste (Mr.)
758-489-3909
Swelan Auguste LinkedIn
<https://www.linkedin.com/in/swelan-auguste-92700522a/>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-ced7PZu4fK6Y1G5OXn6jXh-k49dgvSOQTqPz6Y1wprx01g%40mail.gmail.com.


Re: Media Files - local network share

2022-02-08 Thread Swelan Auguste
Thanks for the suggestion.

I tried it but it ended up in the app base directory.

Can you help me out?

On Mon, Feb 7, 2022, 12:03 PM Jiffin George Kokkat 
wrote:

> Hi,
>
> Mount shared network path to media folder of the Django.
>
> https://stackoverflow.com/questions/52825610/django-media-root-pointed-to-network-drive
>
> this may help
>
> Thanks,
> Jiffin George Kokkat
>
>
> On Mon, Feb 7, 2022 at 7:41 PM Litesh Garg  wrote:
>
>> Hi,
>>
>> You can use django storages, particularly ftp or sftp modules for storage
>> and then use nginx to server these files.
>> You can go through documentation here.
>> https://django-storages.readthedocs.io/en/latest/backends/ftp.html
>>
>> On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste 
>> wrote:
>>
>>> Good day,
>>>
>>> Thanks. I was more looking for a local solutions (within a closed
>>> network)
>>>
>>> Kindly,
>>>
>>> Swelan R. Auguste (Mr.)
>>> KingShip
>>> Technical Information Officer
>>> 758-489-3909
>>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>>
>>>
>>>
>>> On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic 
>>> wrote:
>>>
>>>> You can try dropbox that is what I used to serve my media files in
>>>> django
>>>>
>>>> On Sun, 6 Feb 2022 at 20:07, Swelan Auguste 
>>>> wrote:
>>>>
>>>>>
>>>>> Good day all,
>>>>>
>>>>>
>>>>> I am trying to figure out how to attach a Django app to a local
>>>>> network server/share.
>>>>>
>>>>> I do not want to host the media files on the same server so that the
>>>>> server doesn't run out of space and I can and I can grow my media file 
>>>>> host
>>>>> share/server as it grows.
>>>>> Kindly,
>>>>>
>>>>> Swelan R. Auguste (Mr.)
>>>>> KingShip
>>>>> Technical Information Officer
>>>>> 758-489-3909
>>>>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Django users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com?utm_medium=email_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CADA6A2FJmeGC9hxyJ7JAY

Re: Media Files - local network share

2022-02-07 Thread Swelan Auguste
Good day,

Thanks for your reply.

I was looking into that also, are FTP and SFTP servers a good idea. I was
under the impression that it was kind of old technology and was replaced by
something bucket s3?

Kindly,

Swelan R. Auguste (Mr.)
KingShip
Technical Information Officer
758-489-3909
Webpage <https://sites.google.com/view/swelanauguste/home>



On Mon, Feb 7, 2022 at 10:10 AM Litesh Garg  wrote:

> Hi,
>
> You can use django storages, particularly ftp or sftp modules for storage
> and then use nginx to server these files.
> You can go through documentation here.
> https://django-storages.readthedocs.io/en/latest/backends/ftp.html
>
> On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste 
> wrote:
>
>> Good day,
>>
>> Thanks. I was more looking for a local solutions (within a closed network)
>>
>> Kindly,
>>
>> Swelan R. Auguste (Mr.)
>> KingShip
>> Technical Information Officer
>> 758-489-3909
>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>
>>
>>
>> On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic 
>> wrote:
>>
>>> You can try dropbox that is what I used to serve my media files in django
>>>
>>> On Sun, 6 Feb 2022 at 20:07, Swelan Auguste 
>>> wrote:
>>>
>>>>
>>>> Good day all,
>>>>
>>>>
>>>> I am trying to figure out how to attach a Django app to a local network
>>>> server/share.
>>>>
>>>> I do not want to host the media files on the same server so that the
>>>> server doesn't run out of space and I can and I can grow my media file host
>>>> share/server as it grows.
>>>> Kindly,
>>>>
>>>> Swelan R. Auguste (Mr.)
>>>> KingShip
>>>> Technical Information Officer
>>>> 758-489-3909
>>>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADA6A2FJmeGC9hxyJ7JAYeK%3Df%2Bh40JjCnFLZxU65Ycp6R6%3DqfQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADA6A2FJmeGC9hxyJ7JAYeK%3Df%2Bh40JjCnFLZxU65Ycp6R6%3DqfQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-cec9oY3sfJekTWsYF7YTwPhpMAePyKPENR_oJ_FVgPACYA%40mail.gmail.com.


Re: Media Files - local network share

2022-02-06 Thread Swelan Auguste
Good day,

Thanks. I was more looking for a local solutions (within a closed network)

Kindly,

Swelan R. Auguste (Mr.)
KingShip
Technical Information Officer
758-489-3909
Webpage <https://sites.google.com/view/swelanauguste/home>



On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic  wrote:

> You can try dropbox that is what I used to serve my media files in django
>
> On Sun, 6 Feb 2022 at 20:07, Swelan Auguste 
> wrote:
>
>>
>> Good day all,
>>
>>
>> I am trying to figure out how to attach a Django app to a local network
>> server/share.
>>
>> I do not want to host the media files on the same server so that the
>> server doesn't run out of space and I can and I can grow my media file host
>> share/server as it grows.
>> Kindly,
>>
>> Swelan R. Auguste (Mr.)
>> KingShip
>> Technical Information Officer
>> 758-489-3909
>> Webpage <https://sites.google.com/view/swelanauguste/home>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com.


Media Files - local network share

2022-02-06 Thread Swelan Auguste
Good day all,


I am trying to figure out how to attach a Django app to a local network
server/share.

I do not want to host the media files on the same server so that the server
doesn't run out of space and I can and I can grow my media file host
share/server as it grows.
Kindly,

Swelan R. Auguste (Mr.)
KingShip
Technical Information Officer
758-489-3909
Webpage 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com.


Re: Connect Django authentication to windows ldap/windows active directory

2021-04-26 Thread Swelan Auguste
Thanks much

Thankfully,

Swelan R. Auguste (Mr.)
KingShip
Technical - Information Officer
758-729-5289
https://KingShip.business.site/

On Mon, Apr 26, 2021, 05:22 Kasper Laudrup  wrote:

> On 25/04/2021 18.43, Swelan Auguste wrote:
> > I'm trying to connect my Django applications to ldap/windows active
> > directory.
> >
>
> https://django-auth-ldap.readthedocs.io/en/latest/index.html
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6354b54a-9b7b-3d87-14b6-83bd4b8dd293%40stacktrace.dk
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-cefzk0deaBM%2BfveDRSEAaM9PbKH4FMwpMydykU6NUkw6aQ%40mail.gmail.com.


Connect Django authentication to windows ldap/windows active directory

2021-04-25 Thread Swelan Auguste
I'm trying to connect my Django applications to ldap/windows active
directory.

Can anyone help me.

Thankfully,

Swelan R. Auguste (Mr.)
KingShip
Technical - Information Officer
758-729-5289
https://KingShip.business.site/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKj-cefDXk2M0gbWF9Om7A8epk554waXCEoDFRP6BgFJzt0Cpw%40mail.gmail.com.